package org.jeecg.modules.demo.ch.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.modules.demo.ch.entity.ChHardwareMaintenancePlanDetail;
import org.jeecg.modules.demo.ch.entity.ChMaintenancePlanDetail;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @Description: 软件运维计划表
 * @Author: jeecg-boot
 * @Date:   2022-10-28
 * @Version: V1.0
 */
@Data
@ApiModel(value="ch_software_operation_planPage对象", description="软件运维计划表")
public class ChSoftwareOperationPlanPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private String id;
	/**项目编号*/
	@Excel(name = "项目编号", width = 15)
	@ApiModelProperty(value = "项目编号")
    private String itemNo;
	/**项目名称*/
	@Excel(name = "项目名称", width = 15)
	@ApiModelProperty(value = "项目名称")
    private String itemName;
	/**项目类型（1.软件项目2.硬件项目3.混合项目）*/
	@Excel(name = "项目类型（1.软件项目2.硬件项目3.混合项目）", width = 15)
	@ApiModelProperty(value = "项目类型（1.软件项目2.硬件项目3.混合项目）")
    private Integer itemType;
	/**合同总价*/
	@Excel(name = "合同总价", width = 15)
	@ApiModelProperty(value = "合同总价")
    private String totalContractPrice;
	/**运维比例*/
	@Excel(name = "运维比例", width = 15)
	@ApiModelProperty(value = "运维比例")
    private String proportion;
	/**软件套数*/
	@Excel(name = "软件套数", width = 15)
	@ApiModelProperty(value = "软件套数")
    private Integer softwareSetsNum;
	/**硬件到期时间*/
	@Excel(name = "硬件到期时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "硬件到期时间")
    private Date hardwareExpirTime;
	/**软件到期时间*/
	@Excel(name = "软件到期时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "软件到期时间")
    private Date softwareExpirTime;


	/**项目责任人*/
	@Excel(name = "项目责任人", width = 15)
	@ApiModelProperty(value = "项目责任人")
	private String projectProjectPeoper;

	/**供应商/客户联系人*/
	@Excel(name = "供应商/客户联系人", width = 15)
	@ApiModelProperty(value = "供应商/客户联系人")
	private String contacts;

	/**软件授权类型（1.年付费2.永久产权3.有截止日）*/
	@Excel(name = "软件授权类型（1.年付费2.永久产权3.有截止日）", width = 15)
	@ApiModelProperty(value = "软件授权类型（1.年付费2.永久产权3.有截止日）")
    private Integer softwareLicenseType;
	/**是否放弃维保（1.否2.是）*/
	@Excel(name = "是否放弃维保（1.否2.是）", width = 15)
	@ApiModelProperty(value = "是否放弃维保（1.否2.是）")
    private Integer isAbandonMaintenance;
	/**附件*/
	@Excel(name = "附件", width = 15)
	@ApiModelProperty(value = "附件")
    private String enclosure;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
    private String remark;
	/**是否删除（0正常1.删除）*/
	@Excel(name = "是否删除（0正常1.删除）", width = 15)
	@ApiModelProperty(value = "是否删除（0正常1.删除）")
    private Integer deleted;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private String sysOrgCode;

	@ExcelCollection(name="软件维保/租用计划明细表")
	@ApiModelProperty(value = "软件维保/租用计划明细表")
	private List<ChMaintenancePlanDetail> chMaintenancePlanDetailList;
	@ExcelCollection(name="硬件维保/租用计划明细表")
	@ApiModelProperty(value = "硬件维保/租用计划明细表")
	private List<ChHardwareMaintenancePlanDetail> chHardwareMaintenancePlanDetailList;

}
